<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改会议文件')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-papers-edit" th:object="${conferencePapers}">
            <input name="papersId" th:field="*{papersId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">文件名称;文件名称：</label>
                <div class="col-sm-8">
                    <input name="papersName" th:field="*{papersName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">文件转换前地址;文件转换前地址：</label>
                <div class="col-sm-8">
                    <input name="papersOldUrl" th:field="*{papersOldUrl}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">文件转换后地址;文件转换后地址：</label>
                <div class="col-sm-8">
                    <input name="papersNewUrl" th:field="*{papersNewUrl}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">文件排序;文件排序：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="papersSort" th:field="*{papersSort}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">文件状态;上传中；上传成功；转化中；上传失败：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="papersState" th:field="*{papersState}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">提示;文件上传的提示：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="papersPrompt" th:field="*{papersPrompt}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">所属父级;所属父级：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="papersParent" th:field="*{papersParent}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">所属会议id;所属会议id：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="conferenceId" th:field="*{conferenceId}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">删除标识;1：未删除；0：已删除：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="deletionFlag" th:field="*{deletionFlag}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/papers";
        $("#form-papers-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-papers-edit').serialize());
            }
        }
    </script>
</body>
</html>